<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>客户关系登陆页面</title>
<link href="js/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="js/bootstrap/css/bootstrap-theme.min.css" rel="stylesheet">
 <script type="text/javascript" src="js/jquery-1.11.1.min.js" ></script>
 <script type="text/javascript" src="js/bootstrap/js/bootstrap.min.js"></script>
 <script type="text/javascript" src="js/bootstrap/js/npm.js"></script>
 
 <style type="text/css">
 body{
   background: url(images/login/timg.jpg) no-repeat fixed center;
   
 }
 #login{
    width:300px;  
   height:200px;  
   position:absolute;  
   left:50%;  
   top:50%;  
   margin:-100px 0 0 -150px ;    
 } 
 #supply{
     font-style: 15px,red;
 }
 </style>
 <script type="text/javascript">
   
      var loginIndex =function(){
    	  $("#loginForm").submit();
    	
      }
     var loginOut =function(){
    	 $(location).attr('href', 'login.jsp');
    	 
     }
 </script>
</head>
<body >
   <div id="login">
      <h3>和韵客户关系管理系统</h3>
       <form action="login" method="post" id="loginForm">
       <font color="#FF0000">${message}</font> 
       <table  class="table">  
        <tr>
          <td>
          <span class="glyphicon glyphicon-user"></span>用户名：
          </td>
          <td>
          <input type="text" name="loginName" class="form-control" placeholder="请输入用户名" id="loginName">
          </td>
        </tr>
         <tr>
          <td > <span class="glyphicon glyphicon-lock"></span> &nbsp;&nbsp;密码：</td>
          <td>
          <input type="password" name="password" class="form-control" id="password">
          </td>
        </tr>
         <tr>
           <td>
            
           <button type="button" class="btn btn-success" onclick="loginIndex()">登录
           </button></td>
           <td>
           <button type="button" class="btn btn-danger" onclick="loginOut()">取消</button></td>
         </tr>
       </table>
       </form>
       
   </div>   
</body>
</html>